<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DASH Live Streaming</title>
    <style>
        video {
            width: 100%;
            height: auto;
        }
    </style>
</head>
<body>
<h1>DASH Live Streaming Demo</h1>
<video id="videoPlayer" controls></video>

<script src="https://cdn.dashjs.org/latest/dash.all.min.js"></script>
<script>
    (function() {
        var url = 'http://localhost:8080/stream';
        var player = dashjs.MediaPlayer().create();
        player.initialize(document.querySelector("#videoPlayer"), url, true);
    })();
</script>
</body>
</html>